﻿Imports DAO
Imports DTO
Imports System.Data.Linq

Public Class TheLoaiBus

    Public Shared Function LayBang() As Table(Of TheLoai)
        Return TheLoaiDao.LayBang()
    End Function

    Public Shared Function LayDanhSach() As IEnumerable(Of TheLoai)
        Dim lst As IEnumerable(Of TheLoai)
        lst = TheLoaiDao.LayDanhSach()
        Return lst
    End Function

    Public Shared Function LayLoai(ByVal m As Integer) As TheLoai
        Return TheLoaiDao.LayLoai(m)
    End Function
End Class
